package com.rayo.accesscontrollercopy.model.db.bean;

import com.litesuits.orm.db.annotation.Table;

import java.util.Date;

/**
 * Created by lyc-pc on 17/2/23.
 */
@Table("keydata_table")
public class KeyData extends BaseModel{
    private int type;
    //0未绑定,1已绑定
    private int state;
    private String tagid;
    private int groupid;
    private String version;
    private String serialnumber;
    private Date time;
    private int address;
    private int usecount;
    private int keybox;
    private boolean use;


    public boolean isUse() {
        return use;
    }

    public void setUse(boolean use) {
        this.use = use;
    }


    public int getKeybox() {
        return keybox;
    }

    public void setKeybox(int keybox) {
        this.keybox = keybox;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getGroupid() {
        return groupid;
    }

    public void setGroupid(int groupid) {
        this.groupid = groupid;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getSerialnumber() {
        return serialnumber;
    }

    public void setSerialnumber(String serialnumber) {
        this.serialnumber = serialnumber;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getTagid() {
        return tagid;
    }

    public void setTagid(String tagid) {
        this.tagid = tagid;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getAddress() {
        return address;
    }

    public void setAddress(int address) {
        this.address = address;
    }

    public int getUsecount() {
        return usecount;
    }

    public void setUsecount(int usecount) {
        this.usecount = usecount;
    }
}
